package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品-处方关联对象 med_med_mo
 * 
 * @author yangxp
 * @date 2020-08-06
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("med_med_mo")
public class MedMo implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 药品id */
    @Excel(name = "药品id")
    @TableId(value = "med_id", type = IdType.AUTO)
    private String medId;

    /** 处方id */
    @Excel(name = "处方id")
    private String moId;

    @TableField(value = "med_gram")
    private BigDecimal medGram;

    private Date gmtCreate;


    private Date gmtModified;
}
